﻿<%@ Control Language="C#"  %>
<%@ Register Assembly="Swaf.Gui.AspNet2" Namespace="Swaf.Gui.AspNet2" TagPrefix="swf" %>
<%HtmlBlock method = "processList"; %>
    <%Conditional on = "IsFirst==True"; %><div class="articlebox FirstArticle"><%EndConditional; %>
    <%Conditional on = "IsLast==True"; %><div class="articlebox LastArticle"><%EndConditional; %>
    <%Conditional on = "IsFirst==False"; %><%Conditional on = "IsLast==False"; %><div class="articlebox"><%EndConditional; %><%EndConditional; %>
	<div class="Title"><asp:HyperLink id="title" runat="server"  NavigateUrl="$navLink$"/></div>
	<div class="MediaArea">
	    <asp:HyperLink ID="primaryPicture_name" runat="server" 
		    ImageUrl="/$mediaCacheName$/$imageRes$/$primaryPicture.name$" 
		    EnableViewState="false"  NavigateUrl="$navLink$"/>
	</div>
	<div class="Summary"><swf:ReadOnlyText ID="summary" runat="server" /></div>
</div>	
<%EndHtmlBlock; %>
